<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>TFCMS: TFCMS Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">TFCMS
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="classes.html"><span>Data&#160;Structure&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Data&#160;Fields</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('class_t_f_c_m_s.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pro-static-attribs">Static Protected Attributes</a>  </div>
  <div class="headertitle">
<div class="title">TFCMS Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="TFCMS" -->
<p>The TrueFusion CMS core class.  
 <a href="class_t_f_c_m_s.html#details">More...</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_f_c_m_s.html#a095c5d389db211932136b53f25f39685">__construct</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="class_t_f_c_m_s.html" title="The TrueFusion CMS core class.">TFCMS</a> constructor.  <a href="#a095c5d389db211932136b53f25f39685"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_f_c_m_s.html#a9ed0781fa1256597735da1079445855a">addGlobalJavaScripts</a> ($script_paths)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Add JavaScript scripts for every page.  <a href="#a9ed0781fa1256597735da1079445855a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_f_c_m_s.html#a616df1501516754c285ff544f4d18cbb">addMetaData</a> ($name, $content)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Add meta data.  <a href="#a616df1501516754c285ff544f4d18cbb"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_f_c_m_s.html#ab842605b2f76a5c199da082f8931b3f5">addGlobalStyleSheets</a> ($stylesheet_paths)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Add stylesheets for every page.  <a href="#ab842605b2f76a5c199da082f8931b3f5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_f_c_m_s.html#ad49c02c820c17af492b6678a06a5387c">renderHtml</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Finishing piece to the puzzle.  <a href="#ad49c02c820c17af492b6678a06a5387c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_f_c_m_s.html#a6c4676bc0ec1136eb324a26f0ac6252b">setFavicon</a> ($favicon)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the global favicon.  <a href="#a6c4676bc0ec1136eb324a26f0ac6252b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_f_c_m_s.html#ae87488f29297453f492257d6b67c6b4a">setGlobalFileTypes</a> ($file_types)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_f_c_m_s.html#ac768f7d881f8f0b2520bb62f5399e013">setHomePage</a> ($home_page)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_f_c_m_s.html#a58d17b03cf2242ecaf8c9227dfdc4809">setModel</a> (<a class="el" href="class_t_f_c_m_s_abstract_model.html">TFCMSAbstractModel</a> &amp;$model)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the current model to <code>$model</code>.  <a href="#a58d17b03cf2242ecaf8c9227dfdc4809"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_f_c_m_s.html#a4dc09c9c30240d9f541aee1b9f162acb">setSiteSubTitle</a> ($subtitle)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set global site sub-title.  <a href="#a4dc09c9c30240d9f541aee1b9f162acb"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_f_c_m_s.html#a9685cc9f8c82d140ef0adec037ac8bd0">setSiteTitle</a> ($title)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set global site title.  <a href="#a9685cc9f8c82d140ef0adec037ac8bd0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_f_c_m_s.html#a91205755a57eef57abf03cf90eca2d5b">setView</a> (<a class="el" href="class_t_f_c_m_s_abstract_view.html">TFCMSAbstractView</a> &amp;$view)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the current view to <code>$view</code>.  <a href="#a91205755a57eef57abf03cf90eca2d5b"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_f_c_m_s.html#a79b9980affb1bf91251f9b364585142f">disableVersionCheck</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Disables version checking.  <a href="#a79b9980affb1bf91251f9b364585142f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_f_c_m_s.html#a442d47301c59f77e2b63c79dc6b46a76">enableDebugging</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Enable debugging messages.  <a href="#a442d47301c59f77e2b63c79dc6b46a76"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_f_c_m_s.html#aabe69344490065ea05784e9f71512bc1">getModel</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the current model.  <a href="#aabe69344490065ea05784e9f71512bc1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_f_c_m_s.html#a71862e4fc72a711783ca3f090b357d71">getView</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the current view.  <a href="#a71862e4fc72a711783ca3f090b357d71"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_f_c_m_s.html#a9e61cff921cf73f4ba488dacb09148cf">pathInfo</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Convenience function.  <a href="#a9e61cff921cf73f4ba488dacb09148cf"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_f_c_m_s.html#a458266d3bef0f2b396a0a17da3081431">trigger_error</a> ($message, $error_type)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Convenience function.  <a href="#a458266d3bef0f2b396a0a17da3081431"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_f_c_m_s.html#abef08691f98cd68b7b70cb99094600ab">version_check</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Version checking.  <a href="#abef08691f98cd68b7b70cb99094600ab"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pro-static-attribs"></a>
Static Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_f_c_m_s.html#a0fcc86a61e73ca8c55e71c57365c2572">$check_version</a> = true</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_f_c_m_s.html#a4d78d22732a2db7f27b3c39ab3a0f679">$Model</a> = NULL</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_f_c_m_s.html#adfe49c647d27eb2b424c3ea73082382f">$View</a> = NULL</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>The TrueFusion CMS core class. </p>

<p>Definition at line <a class="el" href="tfcms_8class_8php_source.html#l00047">47</a> of file <a class="el" href="tfcms_8class_8php_source.html">tfcms.class.php</a>.</p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a095c5d389db211932136b53f25f39685"></a><!-- doxytag: member="TFCMS::__construct" ref="a095c5d389db211932136b53f25f39685" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_t_f_c_m_s.html#a095c5d389db211932136b53f25f39685">__construct</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p><a class="el" href="class_t_f_c_m_s.html" title="The TrueFusion CMS core class.">TFCMS</a> constructor. </p>
<p>Parameters do not require being passed in, but this method takes the same parameters as <a class="el" href="class_t_f_c_m_s_view.html">TFCMSView</a>'s constructor.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_t_f_c_m_s_view.html">TFCMSView</a> </dd></dl>

<p>Definition at line <a class="el" href="tfcms_8class_8php_source.html#l00060">60</a> of file <a class="el" href="tfcms_8class_8php_source.html">tfcms.class.php</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a9ed0781fa1256597735da1079445855a"></a><!-- doxytag: member="TFCMS::addGlobalJavaScripts" ref="a9ed0781fa1256597735da1079445855a" args="($script_paths)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_t_f_c_m_s.html#a9ed0781fa1256597735da1079445855a">addGlobalJavaScripts</a> </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>script_paths</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Add JavaScript scripts for every page. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramtype">string</td><td class="paramname">$script_paths</td><td>A semi-colon delimited list of JavaScript file paths. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="tfcms_8class_8php_source.html#l00082">82</a> of file <a class="el" href="tfcms_8class_8php_source.html">tfcms.class.php</a>.</p>

</div>
</div>
<a class="anchor" id="ab842605b2f76a5c199da082f8931b3f5"></a><!-- doxytag: member="TFCMS::addGlobalStyleSheets" ref="ab842605b2f76a5c199da082f8931b3f5" args="($stylesheet_paths)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_t_f_c_m_s.html#ab842605b2f76a5c199da082f8931b3f5">addGlobalStyleSheets</a> </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>stylesheet_paths</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Add stylesheets for every page. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramtype">string</td><td class="paramname">$stylesheet_paths</td><td>A semi-colon delimited list of stylesheet file paths. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="tfcms_8class_8php_source.html#l00107">107</a> of file <a class="el" href="tfcms_8class_8php_source.html">tfcms.class.php</a>.</p>

</div>
</div>
<a class="anchor" id="a616df1501516754c285ff544f4d18cbb"></a><!-- doxytag: member="TFCMS::addMetaData" ref="a616df1501516754c285ff544f4d18cbb" args="($name, $content)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_t_f_c_m_s.html#a616df1501516754c285ff544f4d18cbb">addMetaData</a> </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>content</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Add meta data. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramtype">string</td><td class="paramname">$name</td><td>Value for the HTML attribute, name. </td></tr>
    <tr><td class="paramtype">string</td><td class="paramname">$content</td><td>Value for the HTML attribute, content.</td></tr>
  </table>
  </dd>
</dl>
<dl class="warning"><dt><b>Warning:</b></dt><dd></dd></dl>
<p>Currently only supports name and content attributes. Content with the same name will get overwritten. </p>

<p>Definition at line <a class="el" href="tfcms_8class_8php_source.html#l00098">98</a> of file <a class="el" href="tfcms_8class_8php_source.html">tfcms.class.php</a>.</p>

</div>
</div>
<a class="anchor" id="a79b9980affb1bf91251f9b364585142f"></a><!-- doxytag: member="TFCMS::disableVersionCheck" ref="a79b9980affb1bf91251f9b364585142f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="class_t_f_c_m_s.html#a79b9980affb1bf91251f9b364585142f">disableVersionCheck</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Disables version checking. </p>
<p>Call this function for PHP versions below PHP 5.3.4. </p>

<p>Definition at line <a class="el" href="tfcms_8class_8php_source.html#l00117">117</a> of file <a class="el" href="tfcms_8class_8php_source.html">tfcms.class.php</a>.</p>

</div>
</div>
<a class="anchor" id="a442d47301c59f77e2b63c79dc6b46a76"></a><!-- doxytag: member="TFCMS::enableDebugging" ref="a442d47301c59f77e2b63c79dc6b46a76" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="class_t_f_c_m_s.html#a442d47301c59f77e2b63c79dc6b46a76">enableDebugging</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Enable debugging messages. </p>

<p>Definition at line <a class="el" href="tfcms_8class_8php_source.html#l00124">124</a> of file <a class="el" href="tfcms_8class_8php_source.html">tfcms.class.php</a>.</p>

</div>
</div>
<a class="anchor" id="aabe69344490065ea05784e9f71512bc1"></a><!-- doxytag: member="TFCMS::getModel" ref="aabe69344490065ea05784e9f71512bc1" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="class_t_f_c_m_s.html#aabe69344490065ea05784e9f71512bc1">getModel</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the current model. </p>

<p>Definition at line <a class="el" href="tfcms_8class_8php_source.html#l00133">133</a> of file <a class="el" href="tfcms_8class_8php_source.html">tfcms.class.php</a>.</p>

</div>
</div>
<a class="anchor" id="a71862e4fc72a711783ca3f090b357d71"></a><!-- doxytag: member="TFCMS::getView" ref="a71862e4fc72a711783ca3f090b357d71" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="class_t_f_c_m_s.html#a71862e4fc72a711783ca3f090b357d71">getView</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the current view. </p>

<p>Definition at line <a class="el" href="tfcms_8class_8php_source.html#l00140">140</a> of file <a class="el" href="tfcms_8class_8php_source.html">tfcms.class.php</a>.</p>

</div>
</div>
<a class="anchor" id="a9e61cff921cf73f4ba488dacb09148cf"></a><!-- doxytag: member="TFCMS::pathInfo" ref="a9e61cff921cf73f4ba488dacb09148cf" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="class_t_f_c_m_s.html#a9e61cff921cf73f4ba488dacb09148cf">pathInfo</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Convenience function. </p>

<p>Definition at line <a class="el" href="tfcms_8class_8php_source.html#l00147">147</a> of file <a class="el" href="tfcms_8class_8php_source.html">tfcms.class.php</a>.</p>

</div>
</div>
<a class="anchor" id="ad49c02c820c17af492b6678a06a5387c"></a><!-- doxytag: member="TFCMS::renderHtml" ref="ad49c02c820c17af492b6678a06a5387c" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_t_f_c_m_s.html#ad49c02c820c17af492b6678a06a5387c">renderHtml</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Finishing piece to the puzzle. </p>
<dl class="warning"><dt><b>Warning:</b></dt><dd></dd></dl>
<p>Call this method when you have finished setting everything up. Calling this method before any other method may prove to break things. </p>

<p>Definition at line <a class="el" href="tfcms_8class_8php_source.html#l00163">163</a> of file <a class="el" href="tfcms_8class_8php_source.html">tfcms.class.php</a>.</p>

</div>
</div>
<a class="anchor" id="a6c4676bc0ec1136eb324a26f0ac6252b"></a><!-- doxytag: member="TFCMS::setFavicon" ref="a6c4676bc0ec1136eb324a26f0ac6252b" args="($favicon)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_t_f_c_m_s.html#a6c4676bc0ec1136eb324a26f0ac6252b">setFavicon</a> </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>favicon</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the global favicon. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramtype">string</td><td class="paramname">$favicon</td><td>Full path to favicon. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="tfcms_8class_8php_source.html#l00187">187</a> of file <a class="el" href="tfcms_8class_8php_source.html">tfcms.class.php</a>.</p>

</div>
</div>
<a class="anchor" id="ae87488f29297453f492257d6b67c6b4a"></a><!-- doxytag: member="TFCMS::setGlobalFileTypes" ref="ae87488f29297453f492257d6b67c6b4a" args="($file_types)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_t_f_c_m_s.html#ae87488f29297453f492257d6b67c6b4a">setGlobalFileTypes</a> </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>file_types</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set file types for directories to consider.</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramtype">string</td><td class="paramname">$file_types</td><td>A semi-colon delimited string of file extensions. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="tfcms_8class_8php_source.html#l00196">196</a> of file <a class="el" href="tfcms_8class_8php_source.html">tfcms.class.php</a>.</p>

</div>
</div>
<a class="anchor" id="ac768f7d881f8f0b2520bb62f5399e013"></a><!-- doxytag: member="TFCMS::setHomePage" ref="ac768f7d881f8f0b2520bb62f5399e013" args="($home_page)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_t_f_c_m_s.html#ac768f7d881f8f0b2520bb62f5399e013">setHomePage</a> </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>home_page</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set the home page to <code>$home_page</code> </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramtype">string</td><td class="paramname">$home_page</td><td>Full path to file. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="tfcms_8class_8php_source.html#l00206">206</a> of file <a class="el" href="tfcms_8class_8php_source.html">tfcms.class.php</a>.</p>

</div>
</div>
<a class="anchor" id="a58d17b03cf2242ecaf8c9227dfdc4809"></a><!-- doxytag: member="TFCMS::setModel" ref="a58d17b03cf2242ecaf8c9227dfdc4809" args="(TFCMSAbstractModel &amp;$model)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_t_f_c_m_s.html#a58d17b03cf2242ecaf8c9227dfdc4809">setModel</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_t_f_c_m_s_abstract_model.html">TFCMSAbstractModel</a> &amp;$&#160;</td>
          <td class="paramname"><em>model</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the current model to <code>$model</code>. </p>
<dl class="warning"><dt><b>Warning:</b></dt><dd></dd></dl>
<p>Setting a new model when the previous model contains categories is not allowed.</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramtype"><a class="el" href="class_t_f_c_m_s_abstract_model.html">TFCMSAbstractModel</a></td><td class="paramname">$model</td><td>Reference to a <a class="el" href="class_t_f_c_m_s_abstract_model.html">TFCMSAbstractModel</a> object. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="tfcms_8class_8php_source.html#l00219">219</a> of file <a class="el" href="tfcms_8class_8php_source.html">tfcms.class.php</a>.</p>

</div>
</div>
<a class="anchor" id="a4dc09c9c30240d9f541aee1b9f162acb"></a><!-- doxytag: member="TFCMS::setSiteSubTitle" ref="a4dc09c9c30240d9f541aee1b9f162acb" args="($subtitle)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_t_f_c_m_s.html#a4dc09c9c30240d9f541aee1b9f162acb">setSiteSubTitle</a> </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>subtitle</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set global site sub-title. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramtype">string</td><td class="paramname">$subtitle</td><td>Sub-title for site. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="tfcms_8class_8php_source.html#l00232">232</a> of file <a class="el" href="tfcms_8class_8php_source.html">tfcms.class.php</a>.</p>

</div>
</div>
<a class="anchor" id="a9685cc9f8c82d140ef0adec037ac8bd0"></a><!-- doxytag: member="TFCMS::setSiteTitle" ref="a9685cc9f8c82d140ef0adec037ac8bd0" args="($title)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_t_f_c_m_s.html#a9685cc9f8c82d140ef0adec037ac8bd0">setSiteTitle</a> </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>title</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set global site title. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramtype">string</td><td class="paramname">$title</td><td>Title for site. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="tfcms_8class_8php_source.html#l00241">241</a> of file <a class="el" href="tfcms_8class_8php_source.html">tfcms.class.php</a>.</p>

</div>
</div>
<a class="anchor" id="a91205755a57eef57abf03cf90eca2d5b"></a><!-- doxytag: member="TFCMS::setView" ref="a91205755a57eef57abf03cf90eca2d5b" args="(TFCMSAbstractView &amp;$view)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_t_f_c_m_s.html#a91205755a57eef57abf03cf90eca2d5b">setView</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_t_f_c_m_s_abstract_view.html">TFCMSAbstractView</a> &amp;$&#160;</td>
          <td class="paramname"><em>view</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the current view to <code>$view</code>. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramtype"><a class="el" href="class_t_f_c_m_s_abstract_view.html">TFCMSAbstractView</a></td><td class="paramname">$view</td><td>Reference to a <a class="el" href="class_t_f_c_m_s_abstract_view.html">TFCMSAbstractView</a> object. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="tfcms_8class_8php_source.html#l00250">250</a> of file <a class="el" href="tfcms_8class_8php_source.html">tfcms.class.php</a>.</p>

</div>
</div>
<a class="anchor" id="a458266d3bef0f2b396a0a17da3081431"></a><!-- doxytag: member="TFCMS::trigger_error" ref="a458266d3bef0f2b396a0a17da3081431" args="($message, $error_type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="class_t_f_c_m_s.html#a458266d3bef0f2b396a0a17da3081431">trigger_error</a> </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>message</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>error_type</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Convenience function. </p>
<p>Supported types: E_USER_WARNING, E_USER_ERROR.</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramtype">string</td><td class="paramname">$message</td><td>Error message to dislpay. </td></tr>
    <tr><td class="paramtype">int</td><td class="paramname">$error_type</td><td>PHP error constant. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="tfcms_8class_8php_source.html#l00263">263</a> of file <a class="el" href="tfcms_8class_8php_source.html">tfcms.class.php</a>.</p>

</div>
</div>
<a class="anchor" id="abef08691f98cd68b7b70cb99094600ab"></a><!-- doxytag: member="TFCMS::version_check" ref="abef08691f98cd68b7b70cb99094600ab" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="class_t_f_c_m_s.html#abef08691f98cd68b7b70cb99094600ab">version_check</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Version checking. </p>
<p>Throws a runtime exception if PHP version number is below the required (or recommended) PHP version. </p>

<p>Definition at line <a class="el" href="tfcms_8class_8php_source.html#l00295">295</a> of file <a class="el" href="tfcms_8class_8php_source.html">tfcms.class.php</a>.</p>

</div>
</div>
<hr/><h2>Field Documentation</h2>
<a class="anchor" id="a0fcc86a61e73ca8c55e71c57365c2572"></a><!-- doxytag: member="TFCMS::$check_version" ref="a0fcc86a61e73ca8c55e71c57365c2572" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$check_version = true<code> [static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="tfcms_8class_8php_source.html#l00049">49</a> of file <a class="el" href="tfcms_8class_8php_source.html">tfcms.class.php</a>.</p>

</div>
</div>
<a class="anchor" id="a4d78d22732a2db7f27b3c39ab3a0f679"></a><!-- doxytag: member="TFCMS::$Model" ref="a4d78d22732a2db7f27b3c39ab3a0f679" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$Model = NULL<code> [static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="tfcms_8class_8php_source.html#l00050">50</a> of file <a class="el" href="tfcms_8class_8php_source.html">tfcms.class.php</a>.</p>

</div>
</div>
<a class="anchor" id="adfe49c647d27eb2b424c3ea73082382f"></a><!-- doxytag: member="TFCMS::$View" ref="adfe49c647d27eb2b424c3ea73082382f" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$View = NULL<code> [static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="tfcms_8class_8php_source.html#l00051">51</a> of file <a class="el" href="tfcms_8class_8php_source.html">tfcms.class.php</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>/home/reeko5k/www/tfcms/modules/<a class="el" href="tfcms_8class_8php_source.html">tfcms.class.php</a></li>
</ul>
</div><!-- contents -->
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Enumerations</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="class_t_f_c_m_s.html">TFCMS</a>      </li>

    <li class="footer">Generated on Mon Aug 6 2012 13:10:01 for TFCMS by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.6.1 </li>
   </ul>
 </div>


</body>
</html>
